package org.zfes.snowier.cloud.zbss.metting.biz.dto;
import java.io.Serializable;

public class MettingsMsgCreateDto implements Serializable{

	private static final long serialVersionUID = 1L;
	
	public MettingsMsgCreateDto() {}
	//<-------------------------------------------->

	@javax.validation.constraints.NotNull(message="会议不能为空")
	  private java.lang.Long metId;
	  private java.lang.Long sinupId;
	  private java.lang.Long userId;

	@javax.validation.constraints.NotBlank(message="留言内容不能为空")
	@javax.validation.constraints.NotNull(message="留言内容不能为空")
	@org.hibernate.validator.constraints.Length(min=0,max=800,message="留言内容长度不能大于800")
	  private java.lang.String content;
	@javax.validation.constraints.NotNull(message="是否匿名不能为空")
	  private java.lang.Byte isAnonymous;
 
	
	//<-------------------------------------------->
	public MettingsMsgCreateDto setMetId(java.lang.Long metId){
	 this.metId=metId;
	 return this;
	}
	public java.lang.Long getMetId(){
		return this.metId;
	}
	public MettingsMsgCreateDto setSinupId(java.lang.Long sinupId){
	 this.sinupId=sinupId;
	 return this;
	}
	public java.lang.Long getSinupId(){
		return this.sinupId;
	}
	public MettingsMsgCreateDto setUserId(java.lang.Long userId){
	 this.userId=userId;
	 return this;
	}
	public java.lang.Long getUserId(){
		return this.userId;
	}
	
	public MettingsMsgCreateDto setContent(java.lang.String content){
		this.content=content==null?null:content.trim();
	 return this;
	}
	public java.lang.String getContent(){
		return this.content;
	}
	
	public MettingsMsgCreateDto setIsAnonymous(java.lang.Byte isAnonymous){
	 this.isAnonymous=isAnonymous;
	 return this;
	}
	public java.lang.Byte getIsAnonymous(){
		return this.isAnonymous;
	}

}
